package it.txt.ens.authorisationService.util;

public class PropertiesKeys {
	
//	namespacesDBUrl=remote\:pc-seccia\:2424/NamespaceDatabase
//	ensPrivateKeyPassword=sysmgr
//	pdpPort=sdfg
//	ensKeystoreFileName=demo_keystore.jks
//	ensKeystoreAccessPassword=sysmgr
//	rabbitMQBrokersParameters=[{"brokerName"\:"Broker1", "brokerDescription"\:"gfdgsfg", "ipAddress"\:"fasdf", "tcpPortNumber"\:"423423", "brokerAdminUsername"\:"ENS-Authorization-Service", "brokerAdminPassword"\:"IoT@Work-ENS-Authz-Srvc-2012"},{"brokerName"\:"GuestBroker", "brokerDescription"\:"fdsf", "ipAddress"\:"sdf", "tcpPortNumber"\:"sdf", "brokerAdminUsername"\:"guest", "brokerAdminPassword"\:"guest"}]
//	namespacesDBPassword=admin
//	amqpVirtualHostsParameters=[{"virtualHostName"\:"h1", "virtualHostDescription"\:"h1 description", "hostingBrokerName"\:"Broker1", "brokerUsername"\:"nino", "brokerPassword"\:"nino", "virtualHostType"\:"Operational"}]
//	pdpServer=dsfg
//	namespacesParameters=[]
//	ensSignatureKeyName=demoserver01@acme.com
//	namespacesDBUsername=admin
//	ensKeystoreFolder=C\:/Users/scigliuto/Desktop/Authorization-Services/dist/Keystore
	
	
//	public static final String ENS_SIGNATURE_KEY_NAME = "ensSignatureKeyName";
//	public static final String ENS_KEYSTORE_FOLDER = "ensKeystoreFolder";
//	public static final String ENS_KEYSTORE_FILE_NAME = "ensKeystoreFileName";
//	public static final String ENS_KEYSTORE_ACCESS_PWD = "ensKeystoreAccessPassword";
//	public static final String ENS_PRIVATE_KEY_PWD = "ensPrivateKeyPassword";
	
//	public static final String PDP_SERVER = "pdpServer";
	
//	public static final String NAMESPACE_DB_URL = "namespacesDBUrl";
//	public static final String NAMESPACE_DB_USR = "namespacesDBUsername";
//	public static final String NAMESPACE_DB_PWD = "namespacesDBPassword";
	
	//MULTIPLE PROPERTIES KEYS
	public static final String ENS_BROKER_SERVERS = "rabbitMQBrokersParameters";
	public static final String ENS_VIRTUAL_HOSTS = "amqpVirtualHostsParameters";
	public static final String ENS_NAMESPACES = "namespacesParameters";
	
	//BROKER PARAMETERS - Included in the POJO it.txt.ens.authorisationService.amqp.ManagedBroker
//	public static final String BROKER_NAME = "brokerName";
//	public static final String BROKER_DESCRIPTION = "brokerDescription";
//	public static final String BROKER_IP_ADDRESS = "ipAddress";
//	public static final String BROKER_PORT = "tcpPortNumber";
//	public static final String BROKER_ADMIN_USR = "brokerAdminUsername";
//	public static final String BROKER_ADMIN_PWD = "brokerAdminPassword";
	
	//VIRTUAL HOST PARAMETERS - Included in the POJO it.txt.ens.authorisationService.amqp.ManagedVirtualHost
//	public static final String VIRTUAL_HOST_NAME = "virtualHostName";
//	public static final String VIRTUAL_HOST_DESCRIPTION = "virtualHostDescription";
//	public static final String VIRTUAL_HOST_BROKER_NAME = "hostingBrokerName";
//	public static final String VIRTUAL_HOST_USR = "brokerUsername";
//	public static final String VIRTUAL_HOST_PWD = "brokerPassword";
//	public static final String VIRTUAL_HOST_CLIENT_USR = "clientUsername";
//	public static final String VIRTUAL_HOST_CLIENT_PWD = "clientPassword";
//	public static final String VIRTUAL_HOST_TYPE = "virtualHostType";
//	public static final String VIRTUAL_HOST_QUEUE = "ENSAuthenticationServiceQueueName";
//	public static final String VIRTUAL_HOST_EXCHANGE = "ENSAuthenticationServiceExhangeName";
//	public static final String VIRTUAL_HOST_BINDING_ROUTING_KEY = "ENSAuthenticationBindingSpecification";
	
	//NAMESPACES PARAMETERS - Included in the POJO it.txt.ens.authorisationService.amqp.ManagedNamespace
//	public static final String NAMESPACE_NAME = "namespaceName";
//	public static final String NAMESPACE_VHOST_NAME = "virtualHostName";
//	public static final String NAMESPACE_EXCHANGE_NAME = "namespaceAMQPExchangeName";
	
	
	//HIDDEN PARAMETERS
	public static final String RABBITMQ_HOST = "rabbitmqHost";
	public static final String RABBITMQ_PORT = "rabbitmqPort";
	public static final String RABBITMQ_HTTP_PORT = "rabbitmqHttpPort";
	
	private static final String PROPERTY_NAME_PREFIX = "it.txt.ens.authzService.";
    public static final String GENERATED_PASSWORD_LENGTH = PROPERTY_NAME_PREFIX + "generatedPasswordLength";
    public static final String QUEUE_NAME_FORMAT = PROPERTY_NAME_PREFIX + 
            "operativeQueue.nameFormat";
    public static final String CONFIGURATION_FILE_PATH_ATTRIBUTE = PROPERTY_NAME_PREFIX +
            "config.filePath";
    public static final String NAMESPACE_CHECK_FLAG = "it.txt.ens.authzService.config.disableNamespaceCheck";
        public static final String THREAD_POOL_SIZE_ATTRIBUTE = PROPERTY_NAME_PREFIX +
            "threadPoolSize";
        public static final String ENS_GUI_ATTRIBUTE = PROPERTY_NAME_PREFIX +
                "gui.enabled";
}
